package frame.io;

import java.io.InputStream;

/**
 * FileName: Resources
 * Author:   xuan zongjun
 * Date:     2020/11/6 11:57
 * Description: 根据文件路径获取文件流
 */


public class Resources {

    public static InputStream getResourceAsSteam(String path){
        InputStream resourceAsStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;
    }
}
